<?php
$this->pageTitle = 'Your Deal Radar';
$this->breadcrumbs=array();
?>
<div class="carousel slide over-something" id="homepage-carousel">
	<div class="carousel-inner slider-w">
		<div class="active item backgounr-cover" style="background-image:url('<?php echo Yii::app()->baseUrl; ?>/img/app/bg_yamii_photo_1.jpg');">
			<div class="container">
				<h1 class="slider-header"><?php echo BUtils::T('yamii_intro_1_lbl'); ?></h1>
				<h2 class="slider-sub-header">
					<?php echo BUtils::T('yamii_intro_1_msg'); ?>
				</h2>
			</div>
		</div>
		<div class="item backgounr-cover" style="background-image:url('<?php echo Yii::app()->baseUrl; ?>/img/app/bg_yamii_photo_2.jpg');">
			<div class="container">
				<h1 class="slider-header"><?php echo BUtils::T('yamii_intro_2_lbl'); ?></h1>
				<h2 class="slider-sub-header">
					<?php echo BUtils::T('yamii_intro_2_msg'); ?>
				</h2>
			</div>
		</div>
	</div>
	<a class="carousel-control left" data-slide="prev" href="#homepage-carousel">
		<i class="icon-chevron-left"></i>
	</a>
	<a class="carousel-control right" data-slide="next" href="#homepage-carousel">
		<i class="icon-chevron-right"></i>
	</a>
</div>
<div class="sub-slider-app">
	<div class="container" id="get-app" style="height:72px;">
	</div>
	<div class="container">
		<div class="row-fluid">
			<ul class="thumbnails relative">
				<li class="span8" style="text-align:center;">
					<h2 class="section-header"><?php echo BUtils::T('download_mobile_app_msg'); ?></h2>
					<div class="clearfix">
						<?php $this->renderPartial('_down_app'); ?>
					</div>
				</li>
				<li class="span4 visible-desktop" style="background:url('<?php echo Yii::app()->baseUrl; ?>/img/app/iphone_frame.png') no-repeat; width:286px; height:561px; position:relative; margin-top:0px;">
					<div class="carousel slide" id="myCarouse2" style="position:absolute; top:100px; left:25px;">
						<div class="carousel-inner">
							<div class="item active">
								<img alt="login with facebook" src="<?php echo Yii::app()->baseUrl; ?>/img/app/iphone_layout_1.png" />
							</div>
							<div class="item">
								<img alt="special offer list" src="<?php echo Yii::app()->baseUrl; ?>/img/app/iphone_layout_2.png" />
							</div>
							<div class="item">
								<img alt="offer unlocked" src="<?php echo Yii::app()->baseUrl; ?>/img/app/iphone_layout_3.png" />
							</div>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="sub-slider-features">
	<div class="container">
		<div class="row">
			<div class="span4">
				<div class="info-bullet">
					<i class="icon-star" style="color:#fb9"></i>
					<h5><?php echo Yii::t("intro", "yamii_feature_experience_lbl"); ?></h5>
					<p><?php echo Yii::t("intro", "yamii_feature_experience_msg"); ?></p>
				</div>
			</div>
			<div class="span4">
				<div class="info-bullet">
					<i class="icon-screenshot" style="color:#6f6"></i>
					<h5><?php echo Yii::t("intro", "yamii_feature_smart_discover_lbl"); ?></h5>
					<p><?php echo Yii::t("intro", "yamii_feature_smart_discover_msg"); ?></p>
				</div>
			</div>
			<div class="span4">
				<div class="info-bullet">
					<i class="icon-gift" style="color:#fc6"></i>
					<h5><?php echo Yii::t("intro", "yamii_feature_exclusive_discounts_lbl"); ?></h5>
					<p><?php echo Yii::t("intro", "yamii_feature_exclusive_discounts_msg"); ?></p>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(function() {
	$('#myCarouse2').carousel({interval: 3000});
});
</script>